package com.songmao.pricecloudapitest.socket.entity.tcp;

/**
 * @author Remy
 * @description :
 * @date 2020-07-07 18:07
 */

import com.alibaba.fastjson.annotation.JSONField;


public class QuoteSymbolQuantityEntity {

    @JSONField(name = "bid_price")
    private double bidPrice;

    @JSONField(name = "bid_size")
    private double bidSize;

    @JSONField(name = "bid_originator")
    private String bidOriginator;

    @JSONField(name = "ask_price")
    private double askPrice;

    @JSONField(name = "ask_size")
    private double askSize;

    @JSONField(name = "ask_originator")
    private String askOriginator;

    public QuoteSymbolQuantityEntity() {
    }

    public QuoteSymbolQuantityEntity(double bidPrice, double bidSize, String bidOriginator, double askPrice, double askSize, String askOriginator) {
        this.bidPrice = bidPrice;
        this.bidSize = bidSize;
        this.bidOriginator = bidOriginator;
        this.askPrice = askPrice;
        this.askSize = askSize;
        this.askOriginator = askOriginator;
    }

    @Override
    public String toString() {
        return "QuoteSymbolQuantityEntity{" +
                "bidPrice=" + bidPrice +
                ", bidSize=" + bidSize +
                ", bidOriginator='" + bidOriginator + '\'' +
                ", askPrice=" + askPrice +
                ", askSize=" + askSize +
                ", askOriginator='" + askOriginator + '\'' +
                '}';
    }

    public double getBidPrice() {
        return bidPrice;
    }

    public void setBidPrice(double bidPrice) {
        this.bidPrice = bidPrice;
    }

    public double getBidSize() {
        return bidSize;
    }

    public void setBidSize(double bidSize) {
        this.bidSize = bidSize;
    }

    public String getBidOriginator() {
        return bidOriginator;
    }

    public void setBidOriginator(String bidOriginator) {
        this.bidOriginator = bidOriginator;
    }

    public double getAskPrice() {
        return askPrice;
    }

    public void setAskPrice(double askPrice) {
        this.askPrice = askPrice;
    }

    public double getAskSize() {
        return askSize;
    }

    public void setAskSize(double askSize) {
        this.askSize = askSize;
    }

    public String getAskOriginator() {
        return askOriginator;
    }

    public void setAskOriginator(String askOriginator) {
        this.askOriginator = askOriginator;
    }
}